<template>
  <div class="main">
    <div class="title">
      <div class="blue"></div>
      <div class="name">重点水质量检测区</div>
    </div>
    <div class="data">
      <div class="water affusion">
        <h6>注水量</h6>
        <span><b>{{ affusionAmount }}</b>m3/h</span>
        <img src="/src/assets/imgs/pictre.png">
      </div>
      <div class="water weepage">
        <h6>泄水量</h6>
        <span><b>{{ weepageAmount }}</b>m3/h</span>
        <img src="/src/assets/imgs/pictre.png">
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      affusionAmount: 1756, // 注水量
      weepageAmount: 3520,  // 泄水量
    };
  },
};
</script>

<style scoped>
.main {
  height: 22vh;
  width: 25%;
  background-color: #0d2b55;
  margin-top: 5px;
  margin-left: 10px;
}

.main .title {
  height: 11%;
  width: 100%;
  margin-top: 5px;
  margin-left: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.blue {
  background-color: #2997e4;
  width: 1%;
  height: 25px;
}

.name {
  flex: 1;
  font-size: 17px;
  color: white;
}

.data {
  color: white;
  display: flex;
  gap: 20px;
  padding: 15px;
}

.water {
  flex: 1;
  padding: 15px;
}

.water h6 {
  font-size: 13px;
  margin-top: 0px;
  cursor: pointer;
}

.water span {
  color: #2aa4f1;
  font-size: 15px;
  font-weight: bold;
  margin-top: 15px;
}

.water span b {
  font-size: 30px;
  font-weight: normal;
}

.data .water img {
  width: 80%;
  margin-top: 10px;
  margin-left: -10px;
}
</style>
